package com.gxa.dao;

import com.gxa.pojo.Dict;

import java.sql.SQLException;
import java.util.List;

public interface DictDao {
    //查询所有数据
    List<Dict> queryDict(Integer param01, Integer param02) throws SQLException;

    //查询总记录数
    Integer countDict() throws SQLException;

    //添加
    int add(Dict dict, String date) throws SQLException;

    //删除
    int del(String id) throws SQLException;

    //修改
    int mod(Dict dict, String date) throws SQLException;

    //条件查询
    List<Dict> searchDict(Integer param01, Integer param02, String dict_name) throws SQLException;

    Integer countDict(String dict_name) throws SQLException;
}
